﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using DAL;
using Models;
namespace BLL
{
  public  class RegisteredusersBLL
    {
	#region 注册
	public static int Register(string jh,string txtname, string phone,int count,string rfkh, string password, DateTime khrq, string xb)
	{
	    return RegisteredusersDAL.Register(jh,txtname,phone,count, rfkh, password, khrq, xb);
	}
        #endregion
        public static int userinfo(string kxfjh, string Agreement1, string Agreement2)
        {
            return RegisteredusersDAL.userinfo(kxfjh, Agreement1, Agreement2);
        }

        #region 判断是否有此卡号
        public static int JudgeUser(string rfkh)
	{
	    return RegisteredusersDAL.JudgeUser(rfkh);
	}
        #endregion
        #region 获取所有机号
        public static DataSet getJh()
        {
            return RegisteredusersDAL.getJh();
        }
        #endregion
        #region 判断是否有此用户
        public static int User(string ryxm) 
	{
	    return RegisteredusersDAL.User(ryxm);
	}
	#endregion
    }
}
